.header {
  z-index: 999;
  position: fixed;
  width: 100%;
  height: 60px;
  line-height: 60px;
  min-width: 1300px;
  background-color: white;
  box-shadow: 3px 2px 5px rgb(240, 240, 240);

  .margins {
    max-width: 1500px;
    padding: 0px 55px 0 55px;
    margin: 0 auto;

    .logo {
      float: left;

      a {
        font-size: 23px;
        color: #6e6e6e;
      }

      img {
        width: 40px;
        vertical-align: -12.5px;
        margin-right: 10px;
      }
    }

    .leave-word {
      float: right;
      font-size: 14px;
      margin-top: -2px;

      .icon {
        cursor: pointer;
        font-size: 26px;
        color: rgb(80, 80, 80);
        transition: .5s;
      }

      .icon:hover {
        color: rgb(45, 140, 240);
        transition: .5s;
      }
    }

    .menu {
      float: right;
      font-size: 16px;
      margin-right: 20px;

      .item {
        width: 120px;
        transition: .3s;
        text-align: center;
        color: rgb(60, 60, 60);
        display: inline-block; // 禁止换行
      }

      .item:hover {
        color: black;
        transition: .3s;
        background-color: rgb(249, 249, 249);
      }
    }

    .search {
      float: right;
      margin-right: 30px;
      color: #6e6e6e;

      :deep(.el-input__wrapper) {
        border-radius: 20px;
        background-color: transparent;
        background-color: rgb(251, 251, 251);
        transition: .3s;
      }

      :deep(.el-input__wrapper):hover {
        background-color: rgb(248, 248, 248);
        // border: none;
        transition: .3s;
      }

    }

    a.active .item {
      background-color: rgb(245, 245, 245);
    }

  }
}